const userModel = require('../model/user')

const getList = () => {
  return userModel.getList();
}

const getDetail = (id) => {
  return userModel.getDetail(id);
}

const login = (username, password) => {
  return Promise.resolve({
    username,
    password,
  });
}

module.exports = {
  getList,
  getDetail,
  login,
}